//
//  CADelShopCartApi.m
//  LNH
//
//  Created by twentylx on 2018/2/17.
//  Copyright © 2018年 twentylx. All rights reserved.
//

#import "CADelShopCartApi.h"

@implementation CADelShopCartApi {
    NSString *_cartIds;
}

- (instancetype) initCartIds:(NSString *) cartIds {
    self = [super init];
    if (self) {
        _cartIds = cartIds;
    }
    return self;
}

-(YTKRequestMethod)requestMethod{
    return YTKRequestMethodPOST;
}

-(id)requestArgument{
    return @{
             @"token":GVUD.token,
             @"cart_ids":_cartIds,
             };
}

-(NSString *)requestUrl{
    NSLog(@"%@", [NSString stringWithFormat:@"%@cart/del",BASE_SERVICE_DOMAIN]);
    return [NSString stringWithFormat:@"%@cart/del",BASE_SERVICE_DOMAIN];
}

@end
